package com.yonyou.cyxdms.sysAuth.service.vo.user;

import com.yonyou.cyx.function.utils.validate.define.Required;

import java.util.Date;

/**
 * @author ：quankk
 * @date ：Created in 2019/7/12 15:29
 * @description：PC快速修改密码
 */
public class UserVO {
    private Integer userId;
    private Long employeeId;
    private String dealerCode;
    @Required
    private String userCode;
    private String userName;//用户名，自己加的???***
    private Integer userStatus;
    private String password;
    private String newPassword;
    private Date loginLastTime;
    private Integer failureNum;//登录失败次数
    private Integer lockFlag;//是否锁定

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public Date getLoginLastTime() {
        return loginLastTime;
    }

    public void setLoginLastTime(Date loginLastTime) {
        this.loginLastTime = loginLastTime;
    }

    public Integer getFailureNum() {
        return failureNum;
    }

    public void setFailureNum(Integer failureNum) {
        this.failureNum = failureNum;
    }

    public Integer getLockFlag() {
        return lockFlag;
    }

    public void setLockFlag(Integer lockFlag) {
        this.lockFlag = lockFlag;
    }

    @Override
    public String toString() {
        return "UserVO{" +
                "userId=" + userId +
                ", employeeId=" + employeeId +
                ", dealerCode='" + dealerCode + '\'' +
                ", userCode='" + userCode + '\'' +
                ", userName='" + userName + '\'' +
                ", userStatus=" + userStatus +
                ", password='" + password + '\'' +
                ", newPassword='" + newPassword + '\'' +
                ", loginLastTime=" + loginLastTime +
                ", failureNum=" + failureNum +
                ", lockFlag=" + lockFlag +
                '}';
    }
}
